<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拖鞋袜子</title>
    <link rel="Shortcut Icon" href="http://s.dapuimg.com/favicon.ico" />
    <link rel="stylesheet" href="./../css/reset.css">
    <link rel="stylesheet" href="./../css/public.css">
    <link rel="stylesheet" href="./../css/list.css">
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
    <!-- 公用样式 -->

    <div id="header">

        <div class="logo">
            <a href="./../index.html"><img src="./../images/logo.png" alt=""></a>
        </div>
        <div class="btn">
            <a href="" class="fangda"><img src="./../images/fangdajing.png" alt=""></a>
            <input type="text" placeholder="商品搜索" class="txt" value="">
            <ul class="list" style=" border-left: 1px #000 solid;border-bottom: 1px #000 solid;border-right: 1px #000 solid;">
                <!-- <li class="next"></li> -->
            </ul>
            <div class="btn1">
                <span><a href="./enter.html">登录</a></span>
                |
                <span><a href="./enroll.html">注册</a></span>

            </div>

        </div>



        <div class="nav">
            <ul>
                <li><a href="./../index.html">首页</a></li>
                <li><a href="./list_one.html">生活家电</a></li>
                <li class="e"><a href="./list_two.html">大朴床品</a>
                    <div class="e1">

                    </div>
                    <div class="e11">
                        <div id="e111">
                            <span>
                                <a href="" style=" 
                    
                    font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">床品件套</a>
                                &nbsp;&nbsp;&nbsp;
                                <a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">婚庆件套</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">件套</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">床单/床笠</a>
                                &nbsp;&nbsp;&nbsp; <a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">枕巾/枕套</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">被罩</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                    font-size: 12px;
                    padding: 0px 3px;
                    white-space: nowrap;
                    margin: 4px 0px;
                    color: #6B6B6B;">靠垫/靠垫套</a>
                            </span>

                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">被子枕头</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                        font-size: 12px;
                        padding: 0px 3px;
                        white-space: nowrap;
                        margin: 4px 0px;
                        color: #6B6B6B;">被子</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                        font-size: 12px;
                        padding: 0px 3px;
                        white-space: nowrap;
                        margin: 4px 0px;
                        color: #6B6B6B;">枕头</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                        font-size: 12px;
                        padding: 0px 3px;
                        white-space: nowrap;
                        margin: 4px 0px;
                        color: #6B6B6B;">床垫</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                        font-size: 12px;
                        padding: 0px 3px;
                        white-space: nowrap;
                        margin: 4px 0px;
                        color: #6B6B6B;">夏凉被</a>

                            </span>
                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">夏凉床品</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                            font-size: 12px;
                            padding: 0px 3px;
                            white-space: nowrap;
                            margin: 4px 0px;
                            color: #6B6B6B;"> 老粗布系列</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                            font-size: 12px;
                            padding: 0px 3px;
                            white-space: nowrap;
                            margin: 4px 0px;
                            color: #6B6B6B;"> 亚麻系列</a>
                                &nbsp;&nbsp;&nbsp; <a href="" class="etop" style="
                            font-size: 12px;
                            padding: 0px 3px;
                            white-space: nowrap;
                            margin: 4px 0px;
                            color: #6B6B6B;"> 蔺草席</a>
                                &nbsp;&nbsp;&nbsp; <a href="" class="etop" style="
                            font-size: 12px;
                            padding: 0px 3px;
                            white-space: nowrap;
                            margin: 4px 0px;
                            color: #6B6B6B;"> 文章</a>

                            </span>
                        </div>
                    </div>
                </li>
                <li class="e"><a href="./list_three.html">毛巾&浴巾</a>
                    <div class="e1">

                    </div>
                    <div class="e11">
                        <div id="e111">
                            <span>
                                <a href="" style=" 
                       
                       font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">毛巾浴巾</a>
                                &nbsp;&nbsp;&nbsp;
                                <a href="" class="etop" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">毛巾</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">方巾</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">浴巾浴袍</a>

                            </span>

                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">地巾地毯</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                           font-size: 12px;
                           padding: 0px 3px;
                           white-space: nowrap;
                           margin: 4px 0px;
                           color: #6B6B6B;">地巾地毯</a>


                            </span>

                        </div>
                    </div>
                </li>
                <li class="e"><a href="./list_four.html">拖鞋袜子</a>
                    <div class="e1">

                    </div>
                    <div class="e11">
                        <div id="e111">
                            <span>
                                <a href="" style=" 
                       
                       font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">男士袜子</a>

                            </span>

                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">女士袜子</a>

                            </span>
                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">家具拖鞋</a>


                            </span>
                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">浴室拖鞋</a>


                            </span>
                        </div>
                    </div>
                </li>
                <li class="e"><a href="./list_five.html">家具服饰</a>
                    <div class="e1">

                    </div>
                    <div class="e11">
                        <div id="e111">
                            <span>
                                <a href="" style=" 
                       
                       font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">家居服饰</a>

                            </span>

                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">家居服</a>

                            </span>
                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">T恤/背心</a>

                            </span>
                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">围巾</a>

                            </span>
                        </div>
                    </div>
                </li>
                <li class="e"><a href="./list_six.html">生活日用</a>

                </li>
                <li class="e"><a href="./list_seven.html">内衣&内裤</a>
                    <div class="e1">

                    </div>
                    <div class="e11">
                        <div id="e111">
                            <span>
                                <a href="" style=" 
                       
                       font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">女士内衣</a>
                                &nbsp;&nbsp;&nbsp;
                                <a href="" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">内裤</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">文胸</a>
                                &nbsp;&nbsp;&nbsp;<a href="" class="etop" style="
                       font-size: 12px;
                       padding: 0px 3px;
                       white-space: nowrap;
                       margin: 4px 0px;
                       color: #6B6B6B;">保暖内衣</a>

                            </span>

                            <span>
                                <a href=""
                                    style="font-size: 14px;  margin-left: 5px;  color: #6B6B6B;     font-weight: bold;">男士内裤</a>

                            </span>

                        </div>
                    </div>
                </li>
                <li><a href="./list_eight.html">婴童用品</a></li>
            </ul>
        </div>
    </div>

    <!-- 公共样式 ——右侧导航栏 -->
    <div id="boxNav">
        <!-- 第一个图标首页 -->
        <div id="boxOne">
            <img src="http://activity.dapuimg.com/dapu_201510150001-home.png" alt="">
            <div class="boxOnea appear">
                <a href="./../index.html"
                    style="font-size:14px;line-height: 40px; color: #fff; text-decoration: none;">&nbsp;首&nbsp;页</a>
            </div>
        </div>
        <!-- 第二个图标我的订单 -->
        <div class="boxOnea appear"></div>
        <div id="boxTwo">
            <img src="http://activity.dapuimg.com/dapu_201510150001-member.png" alt="">
            <div class="boxTwoa appear">
                <a href="./html/Cart.html"
                    style="font-size:14px;  color: #fff; text-decoration: none;">&nbsp;我&nbsp;的<br />&nbsp;订&nbsp;单</a>
            </div>
        </div>
        <!-- 第三个图标购物车 -->
        <div class="boxTwoa appear"></div>
        <div id="boxThree">
            <img src="http://activity.dapuimg.com/dapu_201510150001-cart.png" alt="">
            <div class="boxThreea appear">
                <a href="./../html/Cart.html" style="font-size:13px;line-height: 40px; color: #fff; text-decoration: none;">购物车</a>
            </div>
        </div>
        <!-- 第四个图标客服 -->
        <div class="boxThreea appear"></div>
        <div id="boxFour">
            <img src="http://activity.dapuimg.com/dapu_20161013_huiyuan.png" alt="">
            <div class="boxFoura appear">
                <div class="erwei"></div>
                <a href=""
                    style="font-size:14px;line-height: 40px; color: #fff; text-decoration: none;">&nbsp;客&nbsp;服</a>
            </div>
        </div>
        <!-- 第五个图标返回顶部 -->
        <div id="boxFive">
            <img src="http://activity.dapuimg.com/dapu_201510150001-top.png" alt="">
            <div class="boxFivea appear box">

                <a href=""
                    style="font-size:14px; color: #fff; text-decoration: none;">&nbsp;返&nbsp;回<br />&nbsp;顶&nbsp;部</a>
            </div>
        </div>

    </div>


    <!-- 个人样式 -->
    <div id="content">
        <ul class="firstName">
            <li class="secondName"><a href="../index.html">首页&nbsp;&nbsp;</a><span>></span></li>
            <li class="thirdName">袜子拖鞋</li>
        </ul>
        <div class="title">
            <div class="box">
                <h2>袜子拖鞋&nbsp;&nbsp;商品筛选</h2>
            </div>
            <a href="./list_four.html">充值筛选条件</a>
        </div>
        <div id="cont">
            
            <div class="contTop">
                
            </div>

            <!-- 插入数据内容 -->
            <!-- <div class="contSon">
                    <div class="contBig">
                    <img src="http://p1.dapuimg.com/public/images/52/7f/7d/dea0233cc52a739cca40896bb0b0e3e2.jpg?1574396353#h"
                        alt="">
                    <div class="mini"><img src="https://activity.dapuimg.com/2521000.png" alt=""></div>
                </div>

                <div class="contSmall"><img
                        src="http://p1.dapuimg.com/public/images/81/39/4e/d4a7ef61e7563382fac47c61723eba64.jpg?1574396353#h"
                        alt="">
                </div>
                <div class="contText">
                    <p>￥39</p>
                    <p><a href="javascript:;">阿瓦提素色毛巾</a></p>
                </div>
                </div> -->


        </div>
    </div>







    <!-- 尾部公共样式 -->
    <div id="bottom">
        <div class="bottom-heart">
            <div class="bottom-left">
                <span>
                    <a href="" style="color: #6B6B6B;">关于大朴</a>&nbsp;|
                    <a href="" style="color: #6B6B6B;">联系我们</a>&nbsp;|
                    <a href="" style="color: #6B6B6B;">常见产品问题查询</a>&nbsp;|
                    <a href="" style="color: #6B6B6B;">手机大朴</a>|
                    <select>

                        <option value="语言选择">语言选择</option>

                        <option value="语言选择">English</option>

                        <option value="日本语">日本语</option>

                        <option value="Deutsch">Deutsch</option>

                    </select>
                </span>
                </br>
                <b style="color: #6B6B6B;">Copyright © 2013-2018 dapu.com&nbsp; 北京大朴至向家居设计有限公司 </b>
                </br>
                <b style="color: #6B6B6B; margin-left: 60px;">京ICP备12027522号&nbsp;&nbsp;&nbsp;京ICP证130030号</b>
                <br>
                <div style="width: 300px; height: 20px;">
                    <img src="https://activity.dapuimg.com/beijing%E5%B7%A5%E5%95%86%E5%B1%80icon%20.png"
                        style="width: 14px;height: 16px;">
                    <a href="" style="color: #6B6B6B;">企业资质</a>
                    <img src="http://activity.dapuimg.com/dapu_icon-police.png" style="margin-left:20px;">
                    <a href="" style="color: #6B6B6B;">京啊啊啊公网安备 11010502030202号</a>
                </div>
            </div>

            <div class="ma1">
                <img src="./../images/2.png" alt="">
                <br>
                <a href="" style="color:#6b6b6b">大朴官方小程序</a>
            </div>
            <div class="ma2">
                <img src="./../images/22.png" alt="">
                <br>
                <a href="" style="color:#6b6b6b">大朴微信公众号</a>
            </div>
        </div>




        <!-- 连接数据库 -->
        <script>
            let num = 0
            getData(0, 20)
            let oCon = document.querySelector('#cont')


            function getData(start, size) {
                // 这里是回调函数
                $.get('./../php/list_four.php?start=' + start + '&&size=' + size, function (res) {
                    console.log(res)
                    // 成功拿到数据
                    // 接下来对数据进行操作
                    // 生成li放进ul里面
                    let str = ''
                    res.forEach(el => {
                        str += `
                        <div class="contSon">
                        <div class="contBig">
                            <a href="javascript:;">
                            <img src="${el.img}"
                                alt="">
                            </a>
                            <div class="mini"><img src="${el.logo}" alt=""></div>
                        </div>
        
                        <div class="contSmall"><img
                                src="${el.smallimg}"
                                alt="">
                        </div>
                        <div class="contText">
                            <p>￥${el.price}</p>
                            <p><a href="javascript:;">${el.text}</a></p>
                        </div>
                    </div>
                        `
                    })
                    document.getElementById('cont').innerHTML += str;
                }, 'json')
            }






            // 滚动加载
            window.onscroll = function () {
                // 滚动距离
                var scrollTop = document.documentElement.scrollTop || document.body.scrollTop
                // 可视区域
                var windowHeight = document.documentElement.clientHeight

                if ((scrollTop + windowHeight) >= oCon.clientHeight + 500) {
                    num += 20;
                    getData(num, 20);
                }

            }



            
        </script>
        <script>
            // 刷新返回顶部
            $('html ,body').animate({ scrollTop: -10 }, 300);
        </script>



        <!--  JS -->
        <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
        <script src="./../js/swiper.min.js"></script>
        <script src="./js/_index.js"></script>
        <script src="./../js/jquery.js"></script>
        <script src="./../js/public.js"></script>
</body>

</html>